package com.entity;

import java.io.Serializable;

/**
 * servicestatus
 * @author 
 */
public class Servicestatus implements Serializable {
    private Integer servicestatusid;

    private String servicestatus;

    private static final long serialVersionUID = 1L;

    public Integer getServicestatusid() {
        return servicestatusid;
    }

    public void setServicestatusid(Integer servicestatusid) {
        this.servicestatusid = servicestatusid;
    }

    public String getServicestatus() {
        return servicestatus;
    }

    public void setServicestatus(String servicestatus) {
        this.servicestatus = servicestatus;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Servicestatus other = (Servicestatus) that;
        return (this.getServicestatusid() == null ? other.getServicestatusid() == null : this.getServicestatusid().equals(other.getServicestatusid()))
            && (this.getServicestatus() == null ? other.getServicestatus() == null : this.getServicestatus().equals(other.getServicestatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getServicestatusid() == null) ? 0 : getServicestatusid().hashCode());
        result = prime * result + ((getServicestatus() == null) ? 0 : getServicestatus().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", servicestatusid=").append(servicestatusid);
        sb.append(", servicestatus=").append(servicestatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}